In [ ]:
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
In [ ]:
# Look pretty...
# matplotlib.style.use('ggplot')
plt.style.use('ggplot')
Load up the wheat seeds dataset into a dataframe. We've stored a copy in the Datasets directory.
In [ ]:
# .. your code here ..
Create a new 3D subplot using figure fig, which we've defined for you below. Use that subplot to draw a 3D scatter plot using the area, perimeter, and asymmetry features. Be sure so use the optional display parameter c='red', and also label your axes:
In [ ]:
fig = plt.figure()
# .. your code here ..
Create another 3D subplot using fig. Then use the subplot to graph a 3D scatter plot of the width, groove, and length features. Be sure so use the optional display parameter c='green', and be sure to label your axes:
In [ ]:
fig = plt.figure()
# .. your code here ..
In [ ]:
# Finally, display the graphs:
plt.show()
In [ ]: